<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 扩展运算符 == 不定参数
    let fun = (a, ...args) => {
        console.log(a);
        console.log(args);
    }
    fun(1, 2, 3, 4, 5)
</script>
</body>
</html>
